﻿<%@ Page Language="C#" MasterPageFile="~/SiteAdmin/MasterPage.master" AutoEventWireup="true" CodeFile="WorkflowAdd.aspx.cs" Inherits="SiteAdmin_WorkflowAdd" Title="Untitled Page" Theme="DefaultSkin" %>
<%@ Register src="../Controls/TipMessage/TipMessage.ascx" tagname="TipMessage" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentPlaceHolderID" Runat="Server">    
<asp:Panel ID="pnlGrid" runat="server" CssClass="centerPanel" Width="95%">
    <uc1:TipMessage ID="TipMessage1" runat="server" />
    <div class="webPanelBorder">
        <div class="webPanelCaption">请选择办公流程</div>
        <div class="webPanelContent">
        <asp:GridView ID="gridView" runat="server" AutoGenerateColumns="False" OnRowDataBound="gridView_RowDataBound">
            <Columns>
                <asp:TemplateField HeaderText="选择" >
                    <ItemTemplate>
                        <input id="CategoryCode" name="CategoryCode" type="radio" value='<%#DataBinder.Eval(Container.DataItem,"CategoryCode")%>'  />
                        <asp:HiddenField ID="HiddenField1" runat="server" Value='<%#DataBinder.Eval(Container.DataItem,"CategoryID")%>' />
                    </ItemTemplate>
                    <HeaderStyle Width="40px" />
                </asp:TemplateField>
			    <asp:BoundField DataField="GroupCodeName" HeaderText="类别" />		
			    <asp:BoundField DataField="Subject" HeaderText="名称" />
			    <asp:HyperLinkField DataTextField="ImageUrl" HeaderText="流程图" NavigateUrl="#" Target="_blank" />
			    <asp:BoundField DataField="Description" HeaderText="说明" />
            </Columns>
        </asp:GridView>             
        </div>
    </div>
    <div class="webPanelButtonArea">
        <ofcc:LinkButton ID="btnSelect" runat="server" CssClass="linkButton" 
             onclick="btnSelect_Click" >选择</ofcc:LinkButton>
    </div>
</asp:Panel>    
</asp:Content>

